package aos.ydksxt.dao;

import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by Stiofan on 2017/1/16.
 */
@Entity
@Table(name = "DJ_FCJCXX")
public class DjFcjcxx {
    private String fcbh;
    private String fczh;
    private String fcmc;
    private String tdbh;
    private BigDecimal jzmj;
    private String xzqhdsDm;
    private String xzqhxqDm;
    private String jdxzDm;
    private String zldzSqjqDm;
    private String zldzLh;
    private String lrrDm;
    private Timestamp lrrq;
    private String xgrDm;
    private Timestamp xgrq;
    private String yxbz;
    private String sjgsqs;
    private String ssglyDm;
    private String zldzDlxdDm;
    private String zfrDm;
    private Timestamp zfrq;
    private String zfyy;
    private String fcytDm;
    private String fcjgDm;
    private BigDecimal fczyz;
    private Date fcqdrq;
    private Date fcyxqq;
    private Date fcyxqz;

    @Id
    @Column(name = "FCBH", nullable = false, length = 20)
    public String getFcbh() {
        return fcbh;
    }

    public void setFcbh(String fcbh) {
        this.fcbh = fcbh;
    }

    @Basic
    @Column(name = "FCZH", nullable = true, length = 20)
    public String getFczh() {
        return fczh;
    }

    public void setFczh(String fczh) {
        this.fczh = fczh;
    }

    @Basic
    @Column(name = "FCMC", nullable = true, length = 20)
    public String getFcmc() {
        return fcmc;
    }

    public void setFcmc(String fcmc) {
        this.fcmc = fcmc;
    }

    @Basic
    @Column(name = "TDBH", nullable = true, length = 32)
    public String getTdbh() {
        return tdbh;
    }

    public void setTdbh(String tdbh) {
        this.tdbh = tdbh;
    }

    @Basic
    @Column(name = "JZMJ", nullable = true, precision = 2)
    public BigDecimal getJzmj() {
        return jzmj;
    }

    public void setJzmj(BigDecimal jzmj) {
        this.jzmj = jzmj;
    }

    @Basic
    @Column(name = "XZQHDS_DM", nullable = true, length = 6)
    public String getXzqhdsDm() {
        return xzqhdsDm;
    }

    public void setXzqhdsDm(String xzqhdsDm) {
        this.xzqhdsDm = xzqhdsDm;
    }

    @Basic
    @Column(name = "XZQHXQ_DM", nullable = true, length = 6)
    public String getXzqhxqDm() {
        return xzqhxqDm;
    }

    public void setXzqhxqDm(String xzqhxqDm) {
        this.xzqhxqDm = xzqhxqDm;
    }

    @Basic
    @Column(name = "JDXZ_DM", nullable = true, length = 9)
    public String getJdxzDm() {
        return jdxzDm;
    }

    public void setJdxzDm(String jdxzDm) {
        this.jdxzDm = jdxzDm;
    }

    @Basic
    @Column(name = "ZLDZ_SQJQ_DM", nullable = true, length = 11)
    public String getZldzSqjqDm() {
        return zldzSqjqDm;
    }

    public void setZldzSqjqDm(String zldzSqjqDm) {
        this.zldzSqjqDm = zldzSqjqDm;
    }

    @Basic
    @Column(name = "ZLDZ_LH", nullable = true, length = 50)
    public String getZldzLh() {
        return zldzLh;
    }

    public void setZldzLh(String zldzLh) {
        this.zldzLh = zldzLh;
    }

    @Basic
    @Column(name = "LRR_DM", nullable = true, length = 11)
    public String getLrrDm() {
        return lrrDm;
    }

    public void setLrrDm(String lrrDm) {
        this.lrrDm = lrrDm;
    }

    @Basic
    @Column(name = "LRRQ", nullable = false)
    public Timestamp getLrrq() {
        return lrrq;
    }

    public void setLrrq(Timestamp lrrq) {
        this.lrrq = lrrq;
    }

    @Basic
    @Column(name = "XGR_DM", nullable = true, length = 11)
    public String getXgrDm() {
        return xgrDm;
    }

    public void setXgrDm(String xgrDm) {
        this.xgrDm = xgrDm;
    }

    @Basic
    @Column(name = "XGRQ", nullable = true)
    public Timestamp getXgrq() {
        return xgrq;
    }

    public void setXgrq(Timestamp xgrq) {
        this.xgrq = xgrq;
    }

    @Basic
    @Column(name = "YXBZ", nullable = false, length = 1)
    public String getYxbz() {
        return yxbz;
    }

    public void setYxbz(String yxbz) {
        this.yxbz = yxbz;
    }

    @Basic
    @Column(name = "SJGSQS", nullable = true, length = 11)
    public String getSjgsqs() {
        return sjgsqs;
    }

    public void setSjgsqs(String sjgsqs) {
        this.sjgsqs = sjgsqs;
    }

    @Basic
    @Column(name = "SSGLY_DM", nullable = true, length = 11)
    public String getSsglyDm() {
        return ssglyDm;
    }

    public void setSsglyDm(String ssglyDm) {
        this.ssglyDm = ssglyDm;
    }

    @Basic
    @Column(name = "ZLDZ_DLXD_DM", nullable = true, length = 11)
    public String getZldzDlxdDm() {
        return zldzDlxdDm;
    }

    public void setZldzDlxdDm(String zldzDlxdDm) {
        this.zldzDlxdDm = zldzDlxdDm;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        DjFcjcxx djFcjcxx = (DjFcjcxx) o;

        if (fcbh != null ? !fcbh.equals(djFcjcxx.fcbh) : djFcjcxx.fcbh != null) return false;
        if (fczh != null ? !fczh.equals(djFcjcxx.fczh) : djFcjcxx.fczh != null) return false;
        if (fcmc != null ? !fcmc.equals(djFcjcxx.fcmc) : djFcjcxx.fcmc != null) return false;
        if (tdbh != null ? !tdbh.equals(djFcjcxx.tdbh) : djFcjcxx.tdbh != null) return false;
        if (jzmj != null ? !jzmj.equals(djFcjcxx.jzmj) : djFcjcxx.jzmj != null) return false;
        if (xzqhdsDm != null ? !xzqhdsDm.equals(djFcjcxx.xzqhdsDm) : djFcjcxx.xzqhdsDm != null) return false;
        if (xzqhxqDm != null ? !xzqhxqDm.equals(djFcjcxx.xzqhxqDm) : djFcjcxx.xzqhxqDm != null) return false;
        if (jdxzDm != null ? !jdxzDm.equals(djFcjcxx.jdxzDm) : djFcjcxx.jdxzDm != null) return false;
        if (zldzSqjqDm != null ? !zldzSqjqDm.equals(djFcjcxx.zldzSqjqDm) : djFcjcxx.zldzSqjqDm != null) return false;
        if (zldzLh != null ? !zldzLh.equals(djFcjcxx.zldzLh) : djFcjcxx.zldzLh != null) return false;
        if (lrrDm != null ? !lrrDm.equals(djFcjcxx.lrrDm) : djFcjcxx.lrrDm != null) return false;
        if (lrrq != null ? !lrrq.equals(djFcjcxx.lrrq) : djFcjcxx.lrrq != null) return false;
        if (xgrDm != null ? !xgrDm.equals(djFcjcxx.xgrDm) : djFcjcxx.xgrDm != null) return false;
        if (xgrq != null ? !xgrq.equals(djFcjcxx.xgrq) : djFcjcxx.xgrq != null) return false;
        if (yxbz != null ? !yxbz.equals(djFcjcxx.yxbz) : djFcjcxx.yxbz != null) return false;
        if (sjgsqs != null ? !sjgsqs.equals(djFcjcxx.sjgsqs) : djFcjcxx.sjgsqs != null) return false;
        if (ssglyDm != null ? !ssglyDm.equals(djFcjcxx.ssglyDm) : djFcjcxx.ssglyDm != null) return false;
        if (zldzDlxdDm != null ? !zldzDlxdDm.equals(djFcjcxx.zldzDlxdDm) : djFcjcxx.zldzDlxdDm != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = fcbh != null ? fcbh.hashCode() : 0;
        result = 31 * result + (fczh != null ? fczh.hashCode() : 0);
        result = 31 * result + (fcmc != null ? fcmc.hashCode() : 0);
        result = 31 * result + (tdbh != null ? tdbh.hashCode() : 0);
        result = 31 * result + (jzmj != null ? jzmj.hashCode() : 0);
        result = 31 * result + (xzqhdsDm != null ? xzqhdsDm.hashCode() : 0);
        result = 31 * result + (xzqhxqDm != null ? xzqhxqDm.hashCode() : 0);
        result = 31 * result + (jdxzDm != null ? jdxzDm.hashCode() : 0);
        result = 31 * result + (zldzSqjqDm != null ? zldzSqjqDm.hashCode() : 0);
        result = 31 * result + (zldzLh != null ? zldzLh.hashCode() : 0);
        result = 31 * result + (lrrDm != null ? lrrDm.hashCode() : 0);
        result = 31 * result + (lrrq != null ? lrrq.hashCode() : 0);
        result = 31 * result + (xgrDm != null ? xgrDm.hashCode() : 0);
        result = 31 * result + (xgrq != null ? xgrq.hashCode() : 0);
        result = 31 * result + (yxbz != null ? yxbz.hashCode() : 0);
        result = 31 * result + (sjgsqs != null ? sjgsqs.hashCode() : 0);
        result = 31 * result + (ssglyDm != null ? ssglyDm.hashCode() : 0);
        result = 31 * result + (zldzDlxdDm != null ? zldzDlxdDm.hashCode() : 0);
        return result;
    }

    @Basic
    @Column(name = "ZFR_DM", nullable = true, length = 11)
    public String getZfrDm() {
        return zfrDm;
    }

    public void setZfrDm(String zfrDm) {
        this.zfrDm = zfrDm;
    }

    @Basic
    @Column(name = "ZFRQ", nullable = true)
    public Timestamp getZfrq() {
        return zfrq;
    }

    public void setZfrq(Timestamp zfrq) {
        this.zfrq = zfrq;
    }

    @Basic
    @Column(name = "ZFYY", nullable = true, length = 300)
    public String getZfyy() {
        return zfyy;
    }

    public void setZfyy(String zfyy) {
        this.zfyy = zfyy;
    }

    @Basic
    @Column(name = "FCYT_DM", nullable = true, length = 3)
    public String getFcytDm() {
        return fcytDm;
    }

    public void setFcytDm(String fcytDm) {
        this.fcytDm = fcytDm;
    }

    @Basic
    @Column(name = "FCJG_DM", nullable = true, length = 2)
    public String getFcjgDm() {
        return fcjgDm;
    }

    public void setFcjgDm(String fcjgDm) {
        this.fcjgDm = fcjgDm;
    }

    @Basic
    @Column(name = "FCZYZ", nullable = true, precision = 2)
    public BigDecimal getFczyz() {
        return fczyz;
    }

    public void setFczyz(BigDecimal fczyz) {
        this.fczyz = fczyz;
    }

    @Basic
    @Column(name = "FCQDRQ", nullable = true)
    public Date getFcqdrq() {
        return fcqdrq;
    }

    public void setFcqdrq(Date fcqdrq) {
        this.fcqdrq = fcqdrq;
    }

    @Basic
    @Column(name = "FCYXQQ", nullable = true)
    public Date getFcyxqq() {
        return fcyxqq;
    }

    public void setFcyxqq(Date fcyxqq) {
        this.fcyxqq = fcyxqq;
    }

    @Basic
    @Column(name = "FCYXQZ", nullable = true)
    public Date getFcyxqz() {
        return fcyxqz;
    }

    public void setFcyxqz(Date fcyxqz) {
        this.fcyxqz = fcyxqz;
    }
}
